
<header role="banner" class="navbar navbar-inverse navbar-fixed-top bs-docs-nav">
  <div class="container">
    <div class="navbar-header">
      <button data-target=".bs-navbar-collapse" data-toggle="collapse" type="button" class="navbar-toggle collapsed">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#">禾兴农机</a>
    </div>

    <nav role="navigation" class="collapse navbar-collapse bs-navbar-collapse">
      <ul class="nav navbar-nav">
        <li class="dropdown">
          <a data-toggle="dropdown" class="dropdown-toggle" href="javascript:void(0)">
            管理员管理 <b class="caret"></b>
          </a>
          <ul class="dropdown-menu">
            <li>
              <a href="__MODULE__/Admin/index">管理员列表</a>
              <a href="__MODULE__/Admin/add">添加管理员</a>
            </li>
          </ul>
        </li>
       
        	<li class="dropdown">
	          <a data-toggle="dropdown" class="dropdown-toggle" href="javascript:void(0)">
	          	  新闻管理<b class="caret"></b>
	          </a>
	          <ul class="dropdown-menu">
	            <li>
	              <a  href="__MODULE__/Article/index">新闻列表</a>
	              <a  href="__MODULE__/Article/add">添加新闻</a>
	            </li>
	 			<li class="divider"></li>
	            <li>
	              <a href="__MODULE__/Category/index">分类列表</a>
             		  <a href="__MODULE__/Category/add">添加分类</a>
	            </li>    
	            
	          </ul>
	        </li>
        
        <li class="dropdown">
          <a data-toggle="dropdown" class="dropdown-toggle" href="javascript:void(0)">
            系统设置 <b class="caret"></b>
          </a>
          <ul class="dropdown-menu">
            <li>
              <a  href="__MODULE__/Set/index">基本设置</a>
              </li>
             
          </ul>
        </li>
        
        
      </ul>

      <ul class="nav navbar-nav navbar-right">
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">
            {$_SESSION['username']}<b class="caret"></b>
          </a>
          <ul class="dropdown-menu">
            <li>
              <a href="__MODULE__/Admin/modify/id/{$_SESSION['id']}">我的资料</a>
            </li>
            <li>
              <a href="__MODULE__/Login/logout">退出登录</a>
            </li>
            <li class="divider"></li>
            <li><a href="/Home/Index/index">返回前台</a></li>
                        
          </ul>
        </li>
      </ul>
    </nav>
  </div>
</header>  






